package com.hzit.service.impl;

import com.hzit.entity.Specification;
import com.hzit.mapper.SpecificationMapper;
import com.hzit.service.SpecificationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 类名：
 * 作者：WF
 * 功能：
 */
@Service
public class SpecificationServiceImpl implements SpecificationService {
	@Autowired
	private SpecificationMapper specificationMapper;

	//1. 查询所有的规格列表
	@Override
	public List<Specification> findAll() {
		return specificationMapper.selectAll();
	}
}
